﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using YiYiTong.Rocket.EFDBFirst;
using YiYiTong.Rocket.Helper;

namespace YiYiTong.Rocket.Api.Controllers
{
    public class HealthyController : ApiController
    {
        [HttpGet]
        public string ApiGet()
        {
            LogHelper.Debug("ApiGet");
            try
            {
                ADZ_MasterEntities dbcontext = new ADZ_MasterEntities();
                var cc = dbcontext.ADZ_City.ToList();
            }catch(Exception e)
            {
                LogHelper.Error(e.GetExcetionMessage());
            }
            return "ok";
        }
    }
}
